package com.idconfirmsystem;

public class Constants {

	public static class MsgWhat {
		final public static int SHOW_MESSAGE = -1;

		public static class HTTP {
			final public static int ERROR = 0x0001;
			final public static int SUCCESS = 0x0002;
		}

		final public static int GO_LOGIN_ACTIVITY = 0x1001;
		final public static int GO_MAP_ACTIVITY = 0x1002;
		final public static int GO_MENU_CONTROL_ACTIVITY = 0x1003;
		final public static int GO_MENU_LIST_ACTIVITY = 0x1004;
		final public static int GO_DATA_LIST_ACTIVITY = 0x1005;
		final public static int GO_QUERY_SIMPLE_ACTIVITY = 0x1006;
		final public static int GO_QUERY_ADVANCED_ACTIVITY = 0x1007;
		final public static int GO_CAMERA_ACTIVITY = 0x1008;
		final public static int GO_DATA_DETAIL_ACTIVITY = 0x1009;
	}

	public static class Login {
		final public static int LOGIN = 0x5001;
		public static final int DIALOG_SHOW = 0x5002;
		public static final int DIALOG_DISMISS = 0x5003;
		final public static int SSOLOGIN = 0x5004;
		public static final int LOGIN_FAILE = 0x5005;
		public static final int SERVER_FAILE = 0x5006;
	}

	public static class SubTask {
		final public static int UPDATE_SUB_LIST = 0x6001;
	}

	public static class Map {
		final public static int ZOOM_IN = 0x2001;
		final public static int ZOOM_OUT = 0x2002;
		// final public static int RELOAD_MAP = 0x2004;
		final public static int RELOAD_TOOLBAR = 0x2005;
		final public static int SERVICE_BEGIN = 0x2003;
		final public static int SERVICE_END = 0x2006;

		public static class PageType {
			final public static int DEFAULT = 1;
			final public static int VIEW = 2;
			final public static int LOCAL = 3;
			final public static int RELOCAL = 4;
		}

		final public static int CALLBACK = 0x200b;
		final public static int INITPOINT = 0x200c;
		final public static int CENTERMAP = 0x200D;
		/**
		 * 初始定位
		 */
		final public static int LOCATION = 0x2013;
		/**
		 * 更新定位
		 */
		final public static int UPDATELOCATION = 0x2014;
		/**
		 * 更新当前位置
		 */
		final public static int UPDATENOWLOCATION = 0x2015;
		/**
		 * 更新定位,不自动居中
		 */
		final public static int UPDATELOCATIONWITHOUTCENTER = 0x2016;
		/**
		 * 初始化案件定位点
		 */
		final public static int ADDCASEMARKER = 0x2017;
		/**
		 * 初始化图层
		 */
		final public static int ADDLAYER = 0x2018;

	}

	public static class Camera {
		final public static int BEGIN = 0x3000;
		final public static int AUTO_FOCUS = 0x3001;
		final public static int SCREEN_OVER = 0x3002;
		final public static int SAVE_PIC = 0x3003;
		final public static int FOCUS_FAIL = 0x3004;
		final public static int SCREEN_FAIL = 0x3005;
		final public static int STOP_PREVIEW = 0x3006;
	}

	public static class UserRegister {
		public static final int CANCEL = 0x8001;
		public static final int REGISTER = 0x8002;
		public static final int SUCCESS = 0x8003;
		public static final int LEAVE = 0x8004;
	}

	public static class SoftSet {
		public static final int CANCEL = 0x9001;
		public static final int GO_SAVE = 0x9002;
	}

	/**
	 * 文件类型
	 * 
	 * @author Administrator
	 * 
	 */
	public static class FileType {
		public static final int photo = 0xc003;
		public static final int tape = 0xc004;
		public static final int other = 0xc005;
	}

	public static class CaseCommon {
		public static final int DIALOG_SHOW = 0xc101;
		public static final int DIALOG_DISMISS = 0xc102;
		public static final int LOAD_DATA = 0xc103;// 加载数据
		public static final int SAVE = 0xc104;// 保存
		public static final int CANCLE = 0xc105;// 取消
		public static final int UPLOAD = 0xc106;// 上传
		public static final int GO_BACK = 0xc107;// 返回
		public static final int SAVE_LOCAL = 0xc108;// 保存到本地
		public static final int SAVE_UPLOAD = 0xc109;// 保存到服务器
		public static final int CHECK = 0xc10a;// 核查
		public static final int VERIFY = 0xc10b;// 核实
		public static final int CREATE = 0xc10c;// 创建
		public static final int REBACK = 0xc122;// 回退
		public static final int AFRESH = 0xc10e;// 未报

		public static final int NEXT_PAEG = 0xc10d;// 下一页
		public static final int PRE_PAGE = 0xc110;// 前一页
		public static final int UPDATE = 0xc111;// 更新

		public static final int take_pic = 0xc116;// 拍照
		public static final int take_tape = 0xc117;// 录音
		public static final int take_local = 0xc118;// 获取本地文件
		public static final int case_flow = 0xc119;// 查看案件流程
		public static final int terminal_id = 0xc121;// 查看终端编号

		public static final int ACCEPT = 0xc123;// 回退
		public static final int comp_update = 0xc131;// 部件更新

		public static final int AFRESH_SAVE = 0xc141;// 重新上报
		public static final int GPS = 0xc142;//

	}

	/**
	 * 任务类型
	 * 
	 */
	public static class CaseTask {
		public static final String verify_code = "check";// 核实
		public static final String verify_name = "check";// 核实

		public static final String check_code = "recheck";// 核查
		public static final String check_name = "recheck";// 核查

		public static final String create_code = "accept";// 创建
		public static final String create_name = "accept";// 创建

		public static final String accept_code = "accept";// 回退机
		public static final String accept_name = "accept";// 回退件
	}

}
